{include file="header.tpl" title="them moi cbo_find_par_lncharge"}
<form action="" method="post" target="_self" name="tongquat" >
<table width="105%" border="0" cellspacing="0" cellpadding="0" >
<tr>
<td width="22%">
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong" size="1" onChange="changevalue('hanhdong');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
<tr>
<td colspan="4"><hr></td>
</tr><tr >
	<td width="22%" >{$lbl_CHRCODE}</td>
	<td width="78%" colspan="3" style="color:#FF0000;"><input name="CHRCODE" id="CHRCODE" type="text" style="background:{$colorCHRCODE}; text-align:left" value="{$CHRCODE}" size="15" maxlength="3" onkeyup="this.value=this.value.toUpperCase().replace(' ','').replace('!','').replace('@','').replace('#','').replace('$','').replace('&','').replace('*','');" onblur="this.value=this.value.toUpperCase().replace(' ',''); "/>
      <span style="color:#FF0000">
	  *	</span>	</td>
	</tr> 


<tr >
	 <td>{$lbl_VNDESC}</td>
	 <td colspan="3"><span style="color:#FF0000;">
      <input name="VNDESC" id="VNDESC" type="text" value="{$VNDESC}" size="60" maxlength="50" style="background:{$colorVNDESC};text-align:left" />
	  *
    </span></td>
	</tr>  

<tr >
	 <td height="23">{$lbl_ENDESC}</td>
	<td width="78%"><input name="ENDESC" id="ENDESC" type="text"  value="{$ENDESC}" size="60" maxlength="50" style="text-align:left"/>	</td>
</tr>  

<tr >
	 <td>{$lbl_FAMT}</td>
	 <td colspan="3"><input name="FAMT" id="FAMT" type="text" style="background:{$colorFAMT}; text-align:right;" value="{$FAMT}" size="25" maxlength="20" onBlur="formatNumber2(this,this.value,20,2);" onkeypress="return numberOnly(event);" onclick="allowOnlyFloatingPointNumbers(this,this.value);" />	
	 <span style="color:#FF0000;">*</span>	 </td>
    </tr>  

  
<tr >
	<td>{$lbl_RATE}</td>
	<td>
	  <span style="color:#FF0000;">*</span> </td>
</tr>  

<tr ><input name="RATE" id="RATE" type="text" style="background:{$colorRATE}; text-align:right" value="{$RATE}" size="25" maxlength="20"  onblur="formatNumber2(this,this.value,20,4);" onkeypress="return numberOnly(event);" onclick="allowOnlyFloatingPointNumbers(this,this.value);" />
  <td>{$lbl_GLACCT}</td>
  <td colspan="3" ><input name="GLACCT" id="GLACCT" type="text" style="background:{$colorGLACCT}; text-align:right" value="{$GLACCT}" size="20" maxlength="10"   onkeypress="return numberOnly(event);"  />
    <span style="color:#FF0000">*
    <input type="button" onclick="mywindow = window.open('microbank_id.php?name=GLACCT', 'mywindow','menubar=0,resizable=yes,width=800,height=300, scrollbars=yes');mywindow.moveTo((screen.width-800)/2,screen.height/2);" name="microbank" id="replacement_binoculars" value="     " />
    </span></td>
</tr>
<tr >
  <td>{$lbl_VAT}</td>
  <td colspan="3" ><select name="VAT" size="1" id="VAT" >
			{foreach from=$cbo_VAT key=k item=v}
    <option value="{$k}" {if $VAT eq $k} selected="selected" {/if}>{$k} - {$v}</option>    
			{/foreach}   
  </select>
    <span style="color:#FF0000;">*</span> </td>
</tr>
<tr >
  <td><span style="text-align:right">{$lbl_TYPE}</span></td>
  <td colspan="3" ><select name="TYPE" size="1" id="TYPE" onchange="return checkTYPE(); " >
			{foreach from=$cbo_TYPE key=k item=v}
    <option value="{$k}" {if $k eq $TYPE} selected="selected" {/if}>{$k} - {$v}</option>
			{/foreach} 
  </select>
    <span style="color:#FF0000;">*</span> </td>
</tr>
<tr >
  <td>{$lbl_MIN}</td>
  <td colspan="3" ><input name="MIN" id="MIN" {$desebleTextbox} type="text" style="background:{$colorMIN}; text-align:right" value="{$MIN}" size="25" maxlength="20" onBlur="formatNumber2(this,this.value,20,2);" onkeypress="return numberOnly(event);" onclick="allowOnlyFloatingPointNumbers(this,this.value);" {if $maxminvisibled eq 'enabled'} readonly="readonly" {/if} /></td>
</tr>
<tr >
	 <td><span style="text-align:right">{$lbl_MAX}</span></td>
	 <td colspan="3" ><input name="MAX" id="MAX" {$desebleTextbox} type="text" style="background:{$colorMAX}; text-align:right " value="{$MAX}" size="25" maxlength="20" onBlur="formatNumber2(this,this.value,20,2);" onkeypress="return numberOnly(event);" onclick="allowOnlyFloatingPointNumbers(this,this.value);" {if $maxminvisibled eq 'enabled'} readonly="readonly" {/if} />
      <span style="color:#FF0000;">{$error_maxmin}</span></td>
	</tr>

<tr>
<td colspan="4" align="right">
<input type="submit" name="capnhat" value="{$ten_cap_nhat}"  class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"  /></td>
</tr>
<tr>
<td colspan="4">
<hr></td>
</tr>

<tr>
<td >
<input type="button" value="{$ten_trove}" onClick="history.back();" class="button_style" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"></td>
<td align="right" nowrap="nowrap" colspan="3">
<select name="hanhdong1" size="1" onChange="changevalue('hanhdong1');">
 {foreach from=$chuyentrang1 key=k item=v}
      <option value="{$k}" {if $select_cbo_chuyentrang eq $k} selected="selected" {/if}>{$v}</option>
 	{/foreach}
</select>
<input name="action" type="submit" value="{$ten_thuc_hien}" class="button_style" onClick="" onMouseOver="this.className='button_style_hover'" onMouseOut="this.className='button_style'"/></td>
</tr>
</table>
</form>
{$javascriptsetstyle}
{include file="footer.tpl"}
